<?php 
/**
 * 登录
 */
class c_main extends core_base_c {
	
	function pageindex($inPath){
		print_r($this->params);
		return $this->render('index.html',array());
	}
	
	function pagelogin($inPath) {
		
	}
	
	function pagelogout($inPath) {
		$cookie['key'] = '';
		SUtil::ssetcookie($cookie,-1);
		return $this->ShowMsg("成功退出！",$this->createUrl('/main/index'),2,1);
	}
	
	function pagecaptcha(){
		session_start();
		$cap = new SCaptcha();
		$code = $cap->CreateImage();
	}
	function pageTest(){
		
	}
}
?>